#!/bin/sh
##
## backup.sh
## 
## Made by Michael DuPont
## Login   <mdupont@mdupont-desktop2>
## 
## Started on  Mon Jan 26 19:13:22 2009 Michael DuPont
## Last update Mon Jan 26 19:13:22 2009 Michael DuPont
##


# run the backup
. ../../../settings.sh; mysqldump --xml  -u $DBUSER --password=$PASSWORD  $DATABASE  --result-file=output.xml

# remove the passwords from the xml
 perl removepass.pl  output.xml  > clean_database.xml
